<script lang="ts" setup>
// import { FormProvider } from '@formily/vue';
import { Form } from '@formily/element-plus';
// import { useTreeNode } from '@season-designable/vue';
import { createForm } from '@formily/vue';
import { usePrefix } from '@season-designable/vue';

const form = createForm({
  designable: true,
});

const prefix = usePrefix('designable-form');
// const node = useTreeNode();
</script>

<template>
  <Form :form="form" :class="prefix">
    <slot></slot>
  </Form>
</template>

<style lang="scss" scoped></style>
